﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FTP_progress
{
    class PositiveEdge
    {

        public bool Last { get; private set; }
        public bool CLK
        {
            set
            {
                Q = value && !Last;
                Last = value;
            }
        }
        public bool Q { get; private set; }


    }
}
